<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="description" content="">
		<meta name="author" content="">
		<title>Cacoa Trip</title>
		<link href="<?php echo base_url('assets/front/css/style.css');  ?>" rel="stylesheet" type="text/css" />
		<?php echo $this->template->stylesheet; ?>
		<script src="<?php echo base_url('assets/front/js/jquery-1.10.2.js');  ?>"></script>
		<script src="<?php echo base_url('assets/front/js/jquery-ui-1.9.2.custom.min.js');  ?>"></script>
		<?php echo $this->template->javascript; ?>
		<script type="text/javascript" src="<?php echo base_url('assets/front/js/jquery.validate.js'); ?>"></script>
		<script type="text/javascript" src="<?php echo base_url('assets/front/js/form_validation.js'); ?>"></script>
		<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!--[if lt IE 9]>
		  <script src="<?php echo base_url('assets/front/js/html5shiv.js');?>"></script>
		  <script src="<?php echo base_url('assets/front/js/respond.min.js')?>"></script>
		<![endif]-->
		<?php echo $this->template->script; ?>
	</head>
	<body>
		<?php 
			header('Cache-Control: no-cache, no-store, must-revalidate'); // HTTP 1.1.
			header('Pragma: no-cache'); // HTTP 1.0.
			header('Expires: 0'); // Proxies.
			$member = $this->session->userdata('user');
			$settings=$this->general_model->select_val("setting","*","id = 1");
			$firstname=$member['firstname'];
			$lastname=$member['lastname'];
			$id=$member['userid'];
			$groupid=$member['groupid'];
			$is_login=$member['logged_in'];
			//$is_login=0;
			$page=page();
			
		?>
		<div class="container">
			<div class="header">
				<div class="logo"><a href="<?php echo base_url();?>"><img src="<?php echo base_url('assets/uploads/images'); ?>/<?=$settings['site_logo']?>" border="0"></a></div>
					<div class="date-time">
						<div class="date-time-text">Chance to win a<br /><span class="prize-txt">prizes</span></div>
						<div class="date-time-box"><img src="<?php echo base_url('assets/front')?>/images/date-time.png" border="0" /></div>
					</div>
					<div class="detail-info">
					<div class="login-control">
						<ul>
							<li><input type="text" name="name" placeholder="Email or Phone" class="txtbox" /></li>
							<li><input type="password" name="password" placeholder="Password"  class="txtbox" /><br /><a href="#" class="forgot">Forgot Password?</a></li>
							<li><a href="#" class="login-btn">Login</a></li>
						</ul>
					</div>
					<div class="chat-info">
						<ul>
							<li><div class="chat-total"><a href="#" class="chat-box"><img src="<?php echo base_url('assets/front')?>/images/chat-logo.png" border="0" />Chat Now</a></div></li>
							<li>818-518-6136</li>
						</ul>
					</div>
				</div>   
			</div>
			<div class="topmenu">
				<div class="main">
					<ul class="menuitem">
						<li><a href="<?php echo base_url();?>" class="active">About Us</a></li>
						<li><a href="">Login</a></li>
						<li><a href="<?php echo base_url('how-it-works');?>">How It Works</a></li>
						<li><a href="#">Join Now</a></li>
						<li><a href="#">Events</a></li>
						<li><a href="<?php echo base_url('contact-us');?>">Contact Us</a></li>
						
					</ul>
				</div>
			</div>
			
			<div class="maincontent">
				<?php echo $this->template->content; ?>  
			</div>
			<div class="footer">
				<div class="main">
					&copy; 2014 Cacao, All rights reserved
				</div>
			</div>
		</div>
	</body>
</html>